#!/usr/bin/env python
import webbrowser

def wikipedia(cmdstr, cmdargs):
    #Try an I'm feeling lucky page.
    webbrowser.open("http://wikipedia.org/wiki/%s"% (cmdstr))


TRIGGERS = {
            "wikipedia":wikipedia,
            "encyclopedia":wikipedia,
            "wiki":wikipedia,
            "lookup":wikipedia,
            }
#webbrowser.open("http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=python sys")
